/**
 * Copyright (c) 2005-2012 springside.org.cn
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package com.thon.commons.utils;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 处理图片地址
 * @author thon
 *
 */
public class ImageUrl {

	private static String URL = "http://192.168.1.13:8080";
	private static Logger logger = LoggerFactory.getLogger(ImageUrl.class);

	public static String formatImageUrl(String url) {
		if (url != null && !url.contains(URL)) {
			url = URL + url;
		}

		return url;
	}
}
